package com.wish.housing.controller;


import com.wish.common.core.usconfig.common.MsgResult;
import com.wish.housing.service.ISysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 杨子强-用户信息表 前端控制器
 * </p>
 *
 * @author gaoluwen
 * @since 2022-03-28
 */
@RestController
@RequestMapping("/sys-user")
public class SysUserController {
    @Autowired
    ISysUserService iSysUserService;
    @GetMapping("list")
    public MsgResult list(){
        return MsgResult.succeed(iSysUserService.list());
    }
}
